* {
    margin: 0;
    padding: 0;
}
body {
    background-color: #f3f5f7;
}
.w {
    width: 1200px;
    margin: 0 auto;
}
li {
    list-style: none;
    float: left;
}

.header {
    height: 43px;
    margin: 30px auto;
}
.logo {
    width: 200px;
    height: 43px;
    float: left;
}
a {
    text-decoration: none;
}
.nav {
    float: left;
    margin-left: 60px;
}
.nav ul li {
    float: left;
    margin: 0 15px;
}
.nav ul li a{
    /* 转换为块元素 */
    display: block;
    height: 43px;
    padding: 0 10px;
    line-height: 43px;
    font-size: 20px;
    color: #050505;
}
.nav ul li a:hover{
    /* 经过有下滑线 */
    border-bottom: 3px solid #00a4ff;
    color: #00a4ff;
}
/* search 搜索模块 */
.search{
    float: left;
    width: 412px;
    height: 43px;
    margin-left: 50px;
}
.search input {
    float: left;
    width: 360px;
    height: 40px;
    border: 1px solid #00a4ff;
    border-right: 0;
    color: #bfbfbf;
    font-size: 14px;
    /* 首行缩进一个字 */
    text-indent: 1em;
}
/* 按钮 */
.search button {
    float: left;
    width: 50px;
    height: 43px;
    border: 0;
    background: url(../images/search.png);
}
/* 头像和昵称 */
.tu {
    float: right;
    line-height: 43px;
    margin-right: 30px;
    color:  #666;
    font-size: 14px;
}
.tu img {
    /* 暂时没学 参考网上 */
    vertical-align: middle;
}
/* 身体  大盒子 */
.shenti {
    height: 420px;
    background-color: #1c036c;
}
.shenti .w {
    height: 420px;
    background: url(../images/shenti.png) no-repeat top center;
}
.subnav {
    float: left;
    width: 192px;
    height: 420px;
    background: rgba(0, 0, 0, 0.3);
}
.subnav ul li a {
    width: 192px;
    height: 45px;
    font-size: 14px;
    color: #fff;
}
.subnav ul li {
    height: 45px;
    width: 153px;
    line-height: 45px;
    padding-left: 20px;
}
.subnav ul li a span {
    float: right;
}
.subnav ul li a:hover {
    color: #00a4ff;
}
/* 课程表 */
.course {
    float: right;
    width: 230px;
    height: 313px;
    background-color: #fff;
    margin-top: 50px;
}
.course h3 {
    height: 48px;
    font-size: 18px;
    color: #fff;
    text-align: center;
    line-height: 48px;
    background-color: skyblue;
}
.bd {
    padding: 0 18px;
}
.bd ul li h4 {
    font-size: 16px;
    color: #3e3e3e;
}
.bd ul li p {
    font-size: 12px;
    color: #a5a5a5;
}
.bd ul li {
    padding: 14px 0;
    border-bottom: 3px solid #efefef;
}
.bd .more a {
    float: left;
    display: block;
    width: 200px;
    height: 38px;
    color: #00a4ff;
    font-size: 16px;
    font-weight: 700;
    text-align: center;
    line-height: 38px;
    border: 1px solid #00a4ff;
    margin-top: 2px;
}
.bd .more a:hover {
    color: #fff;
    background-color: #00a4ff;
}
/* 目录 content */
.content {
    height: 60px;
    margin-top: 8px;
    background-color: #fff;
    box-shadow: 0 4px 3px 3px rgba(0, 0, 0, 0.3);
    line-height: 60px;
}
.content h3 {
    float: left;
    color: #00a4ff;
    margin-left: 36px;
    font-size: 16px;
}
.content ul {
    float: left;
    margin-left: 36px;
}
.content ul li {
    float: left;
}
.content ul li a {
    padding: 0 36px;
    font-size: 16px;
    color: #050505;
    border-left: 1px solid #bfbfbf;
}
.content .xinqu {
    float: right;
    margin-right: 27px;
    font-size: 14px;
    color: #00a4ff;
}
/* 精品推荐 */
.tuijian {
    height: 42px;
    margin-top: 35px;
}
.tuijian .left {
    font-size: 20px;
    color: #494949;
}
.tuijian .right {
    float: right;
    padding: 10px 17px;
    font-size: 12px;
    color: #a5a5a5;
}
/* box 盒子 */
.box {
    height: 556px;
}
.box-bd ul {
    width: 1225px;
}
.box-bd ul li {
    position: relative;
    float: left;
    width: 229px;
    height: 270px;
    background-color: #fff;
    margin-right: 15px;
    margin-bottom: 15px;
}
.box-bd ul li em {
    position: absolute;
    top: 4px;
    right: -4px;
}
.box-bd ul li > img {
    width: 100%;
}
.box-bd ul li h4 {
    font-size: 14px;
    padding: 25px 21px 21px 25px;
}
.box-bd ul li .info {
    margin-left: 24px;
}
.box-bd ul li .info span {
    font-size: 12px;
    color: orange;
}
.box-bd ul li .info {
    font-size: 12px;
    color: #999;
}
/* 编程入门 */
.rumen h3 {
    float: left;
    font-size: 20px;
    font-weight: 500;
    color: #494949;
}
.rumen ul .diyi {
    margin-left: 333px;
}
.rumen ul li a {
    float: left;
    font-size: 16px;
    color: #868686;
    margin-left: 73px;
}
.rumen ul li a:hover {
    color: #00a4ff;
}
.rumen a {
    float: right;
    font-size: 12px;
    margin-right: 30px;
    color: #a5a5a5;
}
/* 编程板块 */
.bianc {
    height: 392px;
    /* background-color: pink; */
    margin-top: 52px;
    margin-bottom: 15px;
}
.bianc .left {
    float: left;
    margin-right: 15px;
}
.bianc .top {
    margin-bottom: 18px;
}
.bianc .bottom {
    background-color: #fff;
}
.bianc .bottom img {
    width: 100%;
}
.bianc .bottom ul {
    width: 1225px;
}
.bianc .bottom ul li {
    float: left;
    width: 228px;
    height: 274px;
    background-color: #fff;
    margin-right: 15px;
}
.bianc .bottom h4 {
    display: block;
    width: 150px;
    height: 30px;
    margin: 20px 20px 20px 25px;
    font-size: 14px;
    color: #050505;
    font-weight: 400;
}
.bianc .bottom .info {
    margin: 20px 20px 20px 25px;
    font-size: 12px;
    color: #999;
}
.bianc .bottom .info span {
    color: orange;
}
/* 底部模块 */
.footer {
    height: 333px;
    background-color: #fff;
}
.footer .logo {
    float: left;
    width: 540px;
    margin: 20px 0 0 20px;
}
.footer .logo p {
    margin-top: 20px;
    margin-bottom: 20px;
}
.footer .logo .app {
    display: block;
    width: 188px;
    height: 33px;
    font-size: 20px;
    color: #00a4ff;
    text-align: center;
    line-height: 33px;
    border: 1px solid #00a4ff;
}
.footer .logo .app:hover {
    color: #fff;
    background-color: #00a4ff;
}
.footer .links {
    float: right;
}
.footer .links dl {
    float: left;
    margin-top: 20px;
    margin-left: 100px;
    margin-bottom: 8px;
    color: #000;
}
.footer .links dl dt {
    margin-bottom: 8px;
    font-size: 20px;
}